package com.hivekion.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hivekion.common.entity.PagedResultVo;
import com.hivekion.common.entity.SelectOption;
import com.hivekion.system.domain.SysDictData;
import com.hivekion.system.domain.vo.dict.*;

import java.util.List;

public interface ISysDictDataService extends IService<SysDictData> {
      boolean add(SysDictDataCreateVo createVo);

      boolean edit(SysDictDataUpdateVo updateVo);

      boolean remove(String key);

      SysDictDataModelVo get(String key);

      PagedResultVo<SysDictDataViewVo> getList(SysDictDataSearchPageInputVo inputVo);

      List<SelectOption> getOptions(String dictType);

      List<SysDictData> getAllData();
}
